package com.ruoyi.project.hcy.task.domain;

import com.ruoyi.framework.web.domain.BaseEntity;
import com.ruoyi.project.hcy.administrations.domain.Crew;
import com.ruoyi.project.system.user.domain.User;

import java.util.Date;

public class Task extends BaseEntity {
    private Long taskId;
    private String taskTitle;
    private User creatorUser;
    private String taskContent;
    private String taskStatus;
    private String taskPriority;
    private String taskFile;
    private Date taskStartTime;
    private Date taskEndTime;
    private Date taskCreateTime;
    private String taskResultDesc;
    private Crew executorCrew;

    public Task() {
    }

    public Task(Long taskId, String taskTitle, User creatorUser, String taskContent, String taskStatus, String taskPriority, String taskFile, Date taskStartTime, Date taskEndTime, Date taskCreateTime, String taskResultDesc, Crew executorCrew) {
        this.taskId = taskId;
        this.taskTitle = taskTitle;
        this.creatorUser = creatorUser;
        this.taskContent = taskContent;
        this.taskStatus = taskStatus;
        this.taskPriority = taskPriority;
        this.taskFile = taskFile;
        this.taskStartTime = taskStartTime;
        this.taskEndTime = taskEndTime;
        this.taskCreateTime = taskCreateTime;
        this.taskResultDesc = taskResultDesc;
        this.executorCrew = executorCrew;
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public String getTaskTitle() {
        return taskTitle;
    }

    public void setTaskTitle(String taskTitle) {
        this.taskTitle = taskTitle;
    }

    public User getCreatorUser() {
        return creatorUser;
    }

    public void setCreatorUser(User creatorUser) {
        this.creatorUser = creatorUser;
    }

    public String getTaskContent() {
        return taskContent;
    }

    public void setTaskContent(String taskContent) {
        this.taskContent = taskContent;
    }

    public String getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(String taskStatus) {
        this.taskStatus = taskStatus;
    }

    public String getTaskPriority() {
        return taskPriority;
    }

    public void setTaskPriority(String taskPriority) {
        this.taskPriority = taskPriority;
    }

    public String getTaskFile() {
        return taskFile;
    }

    public void setTaskFile(String taskFile) {
        this.taskFile = taskFile;
    }

    public Date getTaskStartTime() {
        return taskStartTime;
    }

    public void setTaskStartTime(Date taskStartTime) {
        this.taskStartTime = taskStartTime;
    }

    public Date getTaskEndTime() {
        return taskEndTime;
    }

    public void setTaskEndTime(Date taskEndTime) {
        this.taskEndTime = taskEndTime;
    }

    public Date getTaskCreateTime() {
        return taskCreateTime;
    }

    public void setTaskCreateTime(Date taskCreateTime) {
        this.taskCreateTime = taskCreateTime;
    }

    public String getTaskResultDesc() {
        return taskResultDesc;
    }

    public void setTaskResultDesc(String taskResultDesc) {
        this.taskResultDesc = taskResultDesc;
    }

    public Crew getExecutorCrew() {
        return executorCrew;
    }

    public void setExecutorCrew(Crew executorCrew) {
        this.executorCrew = executorCrew;
    }
}
